import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { collectExternalReferences } from '@angular/compiler';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
  flag: string='收藏';
  constructor(public navCtrl: NavController) {

  }

  
 coll(): void {
    this.flag = '收藏';
  }
  liulan():void{
    this.flag ='浏览';
  }



}
